﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace RecruitmentPage.Models.RPModel
{
    public class CareerExpect
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public Guid UniqueId { get; set; }

        public string Title { get; set; }
        public string SalaryFrom { get; set; }
        public string SalaryTo { get; set; }

        public string Note { get; set; }

        [ForeignKey("LocationId")]
        public Location Location { get; set; }
        public Guid LocationId { get; set; }


        [ForeignKey("IndustryId")]
        public Industry Industry { get; set; }
        public Guid IndustryId { get; set; }



        [ForeignKey("JobLevelId")]
        public JobLevel JobLevel { get; set; }
        public Guid JobLevelId { get; set; }

        [ForeignKey("JobTypeId")]
        public JobType JobType { get; set; }
        public Guid JobTypeId { get; set; }


        [ForeignKey("PersonalId")]
        public PersonalInfor PersonalInfor { get; set; }
        public Guid PersonalId { get; set; }
    }
}